import { MessageBox } from "element-ui";
async function showConfirm() {
  try {
    await MessageBox.confirm("是否确认本操作", "确认提示", {
      type: "warning",
    });
    return true;
  } catch (error) {
    return false;
  }
}

export { showConfirm };
